// 1042113.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
//--Using library Graph
#include "Graph.h"
//--
void main(int argc, char* argv[])
{
	if (argc == 3)
	{
		bool flag;
		Graph G;
		G.GetData(argv[1]);
		flag = G.HamiltonPath();
		if (flag)
		{
			G.OutScreen();
			G.WriteData(argv[2],flag);
		}
		else
		{
			printf("NULL\n");
			G.WriteData(argv[2],flag);
		}
	}
}

